<template>
  <v-container app>
    <v-container>
      <v-treeview :items="items"></v-treeview>
    </v-container>
  </v-container>
</template>

<script>
export default {
  data: () => ({
    items: [
      {
        id: 1,
        name: '业务管理',
        children: [
          { id: 2, name: '业务1' },
          { id: 3, name: '业务2' },
          { id: 4, name: '业务3' }
        ]
      },
      {
        id: 5,
        name: '基础信息',
        children: [
          {
            id: 6,
            name: '用户管理'
          },
          {
            id: 10,
            name: '菜单管理'
          }
        ]
      }
    ]
  })
}
</script>
